/**    
* @Title: PlanEntrust.java
* @Package: org.vdalf.gsgz.entities
* @author vDalf 2020-09-26 16:10:42 下午4:10:42
* @Copyright © 2020 vDalf Block-Chain Foundation (In Preparation Non-Governmental Organization) All rights reserved.
*/
package org.vdalf.gsgz.entities;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**    
* @Title: PlanEntrust.java
* @Package: org.vdalf.gsgz.entities
* @Description: 
* @author vDalf 2020-09-26 16:10:42 下午4:10:42
*/
public class PlanEntrust {
	
	private Integer id;
	
	private String market;
	
	private String condition;
	
	private BigDecimal target;
	
	private String action;
	
	private BigDecimal orderPrice;
	
	private BigDecimal orderVolume;
	
	private LocalDateTime gmtCreate;
	
	/** 0-invalid 1-valid  */
	private String stauts;

	public PlanEntrust(Integer id, String market, String condition, BigDecimal target, String action, BigDecimal orderPrice, BigDecimal orderVolume, LocalDateTime gmtCreate,
			String stauts) {
		super();
		this.id = id;
		this.market = market;
		this.condition = condition;
		this.target = target;
		this.action = action;
		this.orderPrice = orderPrice;
		this.orderVolume = orderVolume;
		this.gmtCreate = gmtCreate;
		this.stauts = stauts;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMarket() {
		return market;
	}

	public void setMarket(String market) {
		this.market = market;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public BigDecimal getTarget() {
		return target;
	}

	public void setTarget(BigDecimal target) {
		this.target = target;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public BigDecimal getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}

	public BigDecimal getOrderVolume() {
		return orderVolume;
	}

	public void setOrderVolume(BigDecimal orderVolume) {
		this.orderVolume = orderVolume;
	}

	public LocalDateTime getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(LocalDateTime gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getStauts() {
		return stauts;
	}

	public void setStauts(String stauts) {
		this.stauts = stauts;
	}

	@Override
	public String toString() {
		return "PlanEntrust [id=" + id + ", market=" + market + ", condition=" + condition + ", target=" + target + ", action=" + action + ", orderPrice=" + orderPrice
				+ ", orderVolume=" + orderVolume + ", gmtCreate=" + gmtCreate + ", stauts=" + stauts + "]";
	}

}
